package com.example.xinli.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;


import lombok.*;

/**
 *
 * @TableName user
 */
@TableName(value ="user_tb")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {

    @TableField(value = "user_id")
    @TableId
    private String userId;

    @TableField(value = "username")
    private String username;


    @TableField(value = "phone")
    private String phone;

    @TableField(value = "curr_progress")
    private int currProgress;

    @TableField(value = "avatar")
    private String avatar;

    @TableField(value = "role")
    private String role;

    @TableField(value = "group_id")
    private int groupId;



    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}